<tr>
	<th class="thHead" colspan="2">{L_ADD_ATTACH_TITLE}</th>
</tr>
<tr>
	<td class="row3" colspan="2"><span class="gensmall">{L_ADD_ATTACH_EXPLAIN}<br />
		<a href="{U_RULES}" onclick="window.open('{U_RULES}', 'attachrules', 'HEIGHT=450,resizable=yes,scrollbars=yes,WIDTH=700'); return false;" target="attachrules" class="gensmall">{L_RULES}</a>
	</span></td>
</tr>
<tr>
	<td class="row1"><span class="gen"><b>{L_FILE_NAME}</b></span></td>
	<td class="row2"><span class="genmed"><input type="file" name="fileupload" maxlength="{FILE_SIZE}" value="" size="40" class="post" /></span></td>
</tr>
<tr>
	<td class="row1"><span class="gen"><b>{L_FILE_COMMENT}</b></span></td>
	<td class="row2"><textarea name="filecomment" rows="2" cols="35" class="post" style="width:450px"></textarea></td>
</tr>
<tr>
	<td class="catSides" colspan="2" align="center"><span class="genmed">&nbsp;
		<input type="submit" name="add_attachment" value="{L_ADD_ATTACHMENT}" class="liteoption" />&nbsp;
	</span></td>
</tr>
<tr>
	<td class="spaceRow" colspan="2"><img src="{I_SPACER}" border="0" alt="" height="3" /></td>
</tr>
<!-- BEGIN attach -->
<!-- BEGIN switch_attachments -->
<tr>
	<th class="thSides" colspan="2">{L_POSTED_ATTACHMENTS}</th>
</tr>
<!-- END switch_attachments -->
<!-- BEGIN row -->
<tr>
	<td class="row1"><span class="gen"><b>{L_FILE_NAME}</b></span></td>
	<td class="row2"><span class="gen"><a class="gen" href="{attach.row.U_FILE_NAME}" target="_blank">{attach.row.FILE_NAME}</a></span></td>
</tr>
<tr>
	<td class="row1"><span class="gen"><b>{L_FILE_COMMENT}</b></span></td>
	<td class="row2"><textarea name="comment_list[{attach.row.ROW_ID}]" rows="2" cols="35" style="width:450px" class="post">{attach.row.FILE_COMMENT}</textarea></td>
</tr>
<tr>
	<td class="catSides" colspan="2" align="center"><input type="hidden" name="attach_id_list[{attach.row.ROW_ID}]" value="{attach.row.ATTACH_ID}" /><span class="genmed">&nbsp;
		<input type="submit" name="edit_comment[{attach.row.ROW_ID}]" value="{L_UPDATE_COMMENT}" class="liteoption" />&nbsp;
		<input type="submit" name="update_attachment[{attach.row.ROW_ID}]" value="{L_UPLOAD_NEW_VERSION}" class="liteoption" />&nbsp;
		<input type="submit" name="del_attachment[{attach.row.ROW_ID}]" value="{L_DELETE_ATTACHMENT}" class="liteoption" />&nbsp;
		<!-- BEGIN thumbnail --><input type="submit" name="del_thumbnail[{attach.row.ROW_ID}]" value="{L_DELETE_THUMBNAIL}" class="liteoption" />&nbsp;<!-- END thumbnail -->
	</span></td>
</tr>
<tr>
	<td class="spaceRow" colspan="2"><img src="{I_SPACER}" border="0" alt="" height="3" /></td>
</tr>
<!-- END row -->
<!-- END attach -->

